<?php if (!defined('THINK_PATH')) exit(); /*a:4:{s:65:"/www/htdocs/myb/public/../application/ablog/view/page/detail.html";i:1479354493;s:60:"/www/htdocs/myb/public/../application/ablog/view/layout.html";i:1479354490;s:65:"/www/htdocs/myb/public/../application/ablog/view/layout/head.html";i:1479742150;s:65:"/www/htdocs/myb/public/../application/ablog/view/layout/foot.html";i:1479354492;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=11,IE=10,IE=9,IE=8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
<title><?php echo $sys['title']; ?></title>
<link rel='stylesheet' id='da-bootstrap-css'  href='http://apps.bdimg.com/libs/bootstrap/3.2.0/css/bootstrap.css' type='text/css' media='all' />
<link rel='stylesheet' id='da-fontawesome-css'  href='http://apps.bdimg.com/libs/fontawesome/4.2.0/css/font-awesome.min.css' type='text/css' media='all' />
<link rel='stylesheet' id='da-main-css'  href='/static/ablog/css/main.css' type='text/css' media='all' />
<meta name="keywords" content="<?php echo $sys['keyword']; ?>">
<meta name="description" content="<?php echo $sys['description']; ?>">
<!--[if lt IE 9]><script src="http://apps.bdimg.com/libs/html5shiv/r29/html5.min.js"></script><![endif]-->
<!-- <script language="javascript">if(top !== self){location.href = "about:blank";}</script> -->
</head>
<?php 
	$c = com_controller();
	switch($c){
		case 'index':
			echo "<body class='home blog'>";break;
		case 'article':
			$a = com_action();
			if($a=='detail'){
				echo "<body class='single'>";break;
			}elseif($a=='search'){
				echo "<body class='search'>";break;
			}
			break;
		default:
			echo "<body>";				
	}
 ?>
<header class="header">
<div class="container">
	<h1 class="logo"><a href="/" title="<?php echo $sys['title']; ?>"><?php echo $sys['title']; ?></a></h1>
	<div class="brand">
		<?php echo $sys['sub_title']; ?>
	</div>
	<ul class="site-nav site-navbar">
		<?php if(is_array($nav1) || $nav1 instanceof \think\Collection): $i = 0; $__LIST__ = $nav1;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?>
			<li <?php if($_SERVER['REQUEST_URI'] == $v['url']): ?>class="active"<?php endif; ?>><a href="<?php echo $v['url']; ?>" <?php if($v['link_type']): ?>target='_blank'<?php endif; ?>><?php echo $v['title']; ?></a></li>
		<?php endforeach; endif; else: echo "" ;endif; ?>
		<li class="navto-search"><a href="javascript:;" class="search-show active"><i class="fa fa-search"></i></a></li>
	</ul>
	<div class="topbar">
		<ul class="site-nav topmenu">
			<?php if(is_array($nav2) || $nav2 instanceof \think\Collection): $i = 0; $__LIST__ = $nav2;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?>
				<li><a href="<?php echo $v['url']; ?>" <?php if($v['link_type']): ?>target='_blank'<?php endif; ?>><?php echo $v['title']; ?></a></li>
			<?php endforeach; endif; else: echo "" ;endif; ?>
				<li><a href="http://user.mayibang.co" style="color:#FF5E52;">会员中心</a></li>
		</ul>
	</div>
	<i class="fa fa-bars m-icon-nav"></i>
</div>
</header>
<div class="site-search">
<div class="container">
	<form method="get" class="site-search-form" action="<?php echo url('article/search'); ?>">
		<input class="search-input" name="keyword" type="text" placeholder="输入关键字搜索" value="<?php if(isset($keyword)): ?><?php echo $keyword; endif; ?>" ><button class="search-btn" type="submit"><i class="fa fa-search"></i></button>
	</form>
</div>
</div>
	<section class="container container-page">
<div class="pageside">
	<div class="pagemenus">
		<ul class="pagemenu">
			<?php if(is_array($nav2) || $nav2 instanceof \think\Collection): $i = 0; $__LIST__ = $nav2;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?>
				<li <?php if($_SERVER['REQUEST_URI'] == $v['url']): ?>class="active"<?php endif; ?>><a href="<?php echo $v['url']; ?>" <?php if($v['link_type']): ?>target='_blank'<?php endif; ?>><?php echo $v['title']; ?></a></li>
			<?php endforeach; endif; else: echo "" ;endif; ?>
		</ul>
	</div>
</div>
<div class="content">
	<header class="article-header">
	<h1 class="article-title">
		<a href="http://www.daqianduan.com/ads"><?php echo $info['title']; ?></a>
	</h1>
	</header>
	<article class="article-content">
		<?php echo $info['content']; ?>
	</article>
</div>
</section>
<footer class="footer">
<div class="container">
	<p><?php echo $sys['right']; ?></p>
</div>
</footer>

<script>
window.jsui={
    www: 'http://<?php echo $_SERVER['HTTP_HOST']; ?>',
    uri: 'http://<?php echo $_SERVER['HTTP_HOST']; ?>/static/ablog',
    ver: '9.0.0'
};
</script>
<script type="text/javascript" src="/static/ablog/js/loader.js"></script>
<div class="m-mask">
</div>
<div class="rollbar" style="display: none;">
	<ul>
		<li><a href="javascript:(scrollTo());"><i class="fa fa-angle-up"></i></a>
		<h6>去顶部<i></i></h6>
		</li>
	</ul>
</div>
</body>
</html>